Skip to content

[Monitor Ingestion] Regenerate from Typespec#46166

Open
pvaneck wants to merge 2 commits intoAzure:mainfrom
pvaneck:monitor-pyright-ingestion
Open

[Monitor Ingestion] Regenerate from Typespec#46166
pvaneck wants to merge 2 commits intoAzure:mainfrom
pvaneck:monitor-pyright-ingestion

Conversation

@pvaneck
Copy link
Copy Markdown
Member

@pvaneck pvaneck commented Apr 6, 2026

Updated tsp-location.yaml to new specs repo path.

Regeneration introduces updates and improvements to generated code.

  • Moves the project to pyproject.toml based
  • Fixes pyright failures in CI

Updated tsp-location.yaml to new specs repo path.

Regeneration introduces updates and improvements to generated code.

- Moves the project to pyproject.toml based
- Fixes pyright failures in CI

Signed-off-by: Paul Van Eck <paulvaneck@microsoft.com>
@github-actions github-actions bot added the Monitor Monitor, Monitor Ingestion, Monitor Query label Apr 6, 2026
@pvaneck pvaneck requested a review from Copilot April 6, 2026 21:21
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Regenerates azure-monitor-ingestion from the updated TypeSpec source location, modernizing the package layout (pyproject-based) and incorporating generator-driven updates intended to address CI type-checking issues.

Changes:

  • Updated tsp-location.yaml to point at the new azure-rest-api-specs path/commit for Monitor Ingestion.
  • Migrated packaging metadata from setup.py to pyproject.toml (removing setup.py).
  • Regenerated client/operations/utils code (typing updates, serialization/model-base updates, and metadata tweaks).

Reviewed changes

Copilot reviewed 16 out of 16 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
sdk/monitor/azure-monitor-ingestion/tsp-location.yaml Updates TypeSpec directory/commit pointer for regeneration source.
sdk/monitor/azure-monitor-ingestion/setup.py Removed legacy setuptools build script in favor of pyproject.toml.
sdk/monitor/azure-monitor-ingestion/pyproject.toml New build/project metadata and dependencies for pyproject-based packaging.
sdk/monitor/azure-monitor-ingestion/azure/monitor/ingestion/aio/_operations/_patch.py Aligns patched async ops mixin naming with regenerated code.
sdk/monitor/azure-monitor-ingestion/azure/monitor/ingestion/aio/_operations/_operations.py Regenerated async operations mixin + updated typing.
sdk/monitor/azure-monitor-ingestion/azure/monitor/ingestion/aio/_operations/init.py Updates async operations exports/patch wiring.
sdk/monitor/azure-monitor-ingestion/azure/monitor/ingestion/aio/_configuration.py Docstring updates for API version wording.
sdk/monitor/azure-monitor-ingestion/azure/monitor/ingestion/aio/_client.py Updates async client base mixin reference.
sdk/monitor/azure-monitor-ingestion/azure/monitor/ingestion/_utils/serialization.py Typing modernizations and safer basic-type conversions.
sdk/monitor/azure-monitor-ingestion/azure/monitor/ingestion/_utils/model_base.py Significant changes to (de)serialization helpers and rest field behavior.
sdk/monitor/azure-monitor-ingestion/azure/monitor/ingestion/_operations/_patch.py Aligns patched sync ops mixin naming with regenerated code.
sdk/monitor/azure-monitor-ingestion/azure/monitor/ingestion/_operations/_operations.py Regenerated sync operations mixin + updated typing/request building.
sdk/monitor/azure-monitor-ingestion/azure/monitor/ingestion/_operations/init.py Updates sync operations exports/patch wiring.
sdk/monitor/azure-monitor-ingestion/azure/monitor/ingestion/_configuration.py Docstring updates for API version wording.
sdk/monitor/azure-monitor-ingestion/azure/monitor/ingestion/_client.py Updates sync client base mixin reference.
sdk/monitor/azure-monitor-ingestion/_metadata.json Adds apiVersions mapping alongside apiVersion.

Signed-off-by: Paul Van Eck <paulvaneck@microsoft.com>
@pvaneck pvaneck marked this pull request as ready for review April 7, 2026 22:23
@pvaneck pvaneck requested a review from a team as a code owner April 7, 2026 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Monitor Monitor, Monitor Ingestion, Monitor Query

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants